package cn.scau.server.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="EmpPosDeptVO对象", description="整合员工、职位和部门信息的视图对象")
public class EmpPosDeptVO {
    @ApiModelProperty(value = "关联员工表的员工编号，用于标识员工")
    private String empId;

    @ApiModelProperty(value = "员工的全名")
    private String name;

    @ApiModelProperty(value = "关联部门表的部门编号，用于标识所属部门")
    private Integer deptId;

    @ApiModelProperty(value = "部门的名称，如“技术部”、“市场部”等")
    private String deptName;

    @ApiModelProperty(value = "关联职位表的职位编号，用于标识员工职位")
    private Integer positionId;

    @ApiModelProperty(value = "职位的名称，如“技术总监”、“研发工程师”等")
    private String positionName;

    @ApiModelProperty(value = "员工的年龄，根据出生日期计算")
    private Integer age;

    @ApiModelProperty(value = "是否是领导")
    private Integer isLeader;

    public String getEmpId() {
        return empId;
    }

    public void setEmpId(String empId) {
        this.empId = empId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getIsLeader() {
        return isLeader;
    }

    public void setIsLeader(Integer isLeader) {
        this.isLeader = isLeader;
    }
}
